Skip to content

vs2019: record build state under a GitHub-safe asset name - #730

Merged
danoli3 merged 1 commit into
openframeworks:bleedingfrom
danoli3:fix-vs2019-pkl-asset-name
Nov 14, 2026
Merged

danoli3 merged 1 commit into
openframeworks:bleedingfrom
danoli3:fix-vs2019-pkl-asset-name

Conversation

@danoli3

@danoli3 danoli3 commented Nov 14, 2026

Copy link
Copy Markdown
Member

VS2019 compiled and published openFrameworksLibs_latest_vs_2019_64_*.zip on the FreeImage 3.19.33 merge, then failed recording the build-state Pkl:

POST .../assets?name=latest-vs2019-x64-job-build%252Dvs2019%252D64-bundle-1.pkl
422 already_exists

build-vs2019-64 was not in the planner's standard job list, so the asset name included a %2D-encoded job id. GitHub release assets cannot contain %, so the first upload landed as latest-vs2019-x64-job-build.2Dvs2019.2D64-bundle-1.pkl. Replace looks for the %2D name, misses it, and the next upload 422s.

This treats build-vs2019-64 like build-vs2022-64 (latest-vs2019-x64-bundle-1.pkl) and deletes the sanitized leftover names after the new record is uploaded.

Validation:

  • node scripts/tests/test-release-build-plan.cjs
  • git diff --check

Native VS2019 compile is unchanged. The 3.19.33 VS2019 zips are already on latest; this restores Pkl recording so later bleeding pushes can reuse that row.

build-vs2019-64 was not a standard job, so the published Pkl name
included a percent-encoded job id. GitHub stores % as ., the next
record cannot find that asset, and upload returns 422 already_exists.
Treat vs2019 like vs2022 and replace the sanitized leftover names.
@danoli3
danoli3 merged commit 9bd75f9 into openframeworks:bleeding Nov 14, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant